package com.ruoyi.project.registrationfee.service.Impl;

import com.ruoyi.project.registrationfee.damin.SysRegistrationfee;
import com.ruoyi.project.registrationfee.mapper.SysRegistrationfeeMapper;
import com.ruoyi.project.registrationfee.service.SysRegistrationfeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysRegistrationfeeServiceImpl implements SysRegistrationfeeService {
    @Autowired
    private SysRegistrationfeeMapper sysRegistrationfeeMapper;

    /**
     * 数据显示
     * @param sysRegistrationfee
     * @return
     */
    @Override
    public List<SysRegistrationfee> selectSysRegistrationfeeList(SysRegistrationfee sysRegistrationfee) {
        return sysRegistrationfeeMapper.selectSysRegistrationfeeList(sysRegistrationfee);
    }
    /**
     * 数据回显
     * @param registrationfeeId
     * @return
     */
    @Override
    public SysRegistrationfee selectSysRegistrationfeeById(Long registrationfeeId) {
        return sysRegistrationfeeMapper.selectSysRegistrationfeeById(registrationfeeId);
    }

    /**
     * 数据添加
     * @param sysRegistrationfee
     * @return
     */
    @Override
    public int insertSysRegistrationfee(SysRegistrationfee sysRegistrationfee) {
        return sysRegistrationfeeMapper.insertSysRegistrationfee(sysRegistrationfee);
    }

    /**
     * 数据修改
     * @param sysRegistrationfee
     * @return
     */
    @Override
    public int updateSysRegistrationfee(SysRegistrationfee sysRegistrationfee) {
        return sysRegistrationfeeMapper.updateSysRegistrationfee(sysRegistrationfee);
    }

    /**
     * 数据删除
     * @param registrationfeeId
     * @return
     */
    @Override
    public int deleteSysRegistrationfeeById(Long registrationfeeId) {
        return sysRegistrationfeeMapper.deleteSysRegistrationfeeById(registrationfeeId);
    }

    /**
     * 数据批量删除
     * @param registrationfeeIds
     * @return
     */
    @Override
    public int deleteSysRegistrationfeeByIds(Long[] registrationfeeIds) {
        return sysRegistrationfeeMapper.deleteSysRegistrationfeeByIds(registrationfeeIds);
    }
}
